package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师关系对象 business_org_relation_rel
 * 
 * @author ruoyi
 * @date 2022-11-30
 */
public class BusinessOrgRelationRel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long relId;

    /** 关联id */
    @Excel(name = "关联id")
    private Long relationId;

    /** 关联机构id */
    @Excel(name = "关联机构id")
    private Long orgId;

    /** 1: 老师  2：学生 */
    @Excel(name = "1: 老师  2：学生")
    private String type;

    /** 教师类型 0：外部 1：学校内部 */
    @Excel(name = "教师类型 0：外部 1：学校内部")
    private String teacherType;

    public void setRelId(Long relId) 
    {
        this.relId = relId;
    }

    public Long getRelId() 
    {
        return relId;
    }
    public void setRelationId(Long relationId) 
    {
        this.relationId = relationId;
    }

    public Long getRelationId() 
    {
        return relationId;
    }
    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setTeacherType(String teacherType) 
    {
        this.teacherType = teacherType;
    }

    public String getTeacherType() 
    {
        return teacherType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("relId", getRelId())
            .append("relationId", getRelationId())
            .append("orgId", getOrgId())
            .append("type", getType())
            .append("teacherType", getTeacherType())
            .toString();
    }
}
